package com.atguigu.annoaop;

import org.junit.jupiter.api.Test;
import org.springframework.context.ApplicationContext;
import org.springframework.context.support.ClassPathXmlApplicationContext;

public class TestAop {
    @Test
    public void testAdd() {
        System.out.println("add");
        ApplicationContext context = new ClassPathXmlApplicationContext("bean.xml");
        Calculator c = context.getBean(Calculator.class);
        c.add(5,6);

    }
}
